package com.riven.redisson.listener;


/**
 * @author riven
 */
public interface RedissonMessageListener<T> {

    /**
     * on message method
     *
     * @param t message object
     * @throws Exception when consumer error
     */
    void onMessage(T t) throws Exception;

}
